package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterRealNameDao;
import com.vf.admin.miaodong.entity.AppRealName;
import com.vf.admin.miaodong.service.AfterRealNameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 实名认证
 */
@Service
public class AfterRealNameServiceImpl implements AfterRealNameService {
    @Autowired
    AfterRealNameDao afterRealNameDao;

    /**
     * 详情
     */
    @Override
    public AppRealName get(Integer id) {
        return afterRealNameDao.get(id);
    }

    /**
     * 添加/修改
     */
    @Override
    public void save(AppRealName appRealName) {
        afterRealNameDao.save(appRealName);
    }

    /**
     * 删除
     */
    @Override
    public void del(Integer id) {
        afterRealNameDao.del(id);
    }

    /**
     * 综合查询列表
     */
    @Override
    public List<AppRealName> findList(Map<String, Object> map, SplitPageBean bean) {
        return afterRealNameDao.findList(map,bean);
    }
}
